/*
* @Author: wangke
* @Date:   2016-06-12 10:31:54
* @Last Modified by:   wangke
* @Last Modified time: 2016-06-12 10:43:34
*/

/*
	功能：  传入一组数据， 除去最大值、最小值，求和； 
*/

#include <iostream>
#include "main.h"
#include "funb.h"
#include "funa.h"
#include "stdlib.h"
#include "stdio.h"
#include "string.h"


using namespace std;

int main(int argc, char const *argv[])
{
	int array[] = {3, 49, 2, 90, 32, 84, 92};
	int val;

	val = funa(array, 7);

	cout<<"val = "<<val<<endl;
	
	return 0;
}
